package com.baidu.bulls.stock.cat.demo.order.catutils;

import com.dianping.cat.Cat;

import java.util.HashMap;
import java.util.Map;

public class CatContext implements Cat.Context {
    private Map<String,String> map = new HashMap<>();
    @Override
    public void addProperty(String key, String value) {
        map.put(key,value);
    }

    @Override
    public String getProperty(String key) {
        return map.get(key);
    }
}
